Crawling Trajectories of Drosophila Larvae Responding to Vibration
A. Berne, T. Zhang, J.W. Shomar, A.J. Ferrer, A. Valdes, T. Ohyama, M. Klein

Behavior data connected to the publication in eLife:
https://doi.org/10.7554/eLife.69205

For correspondence, please contact M. Klein at Univ. of Miami: klein@miami.edu

Files in this repository include compressed movie files (.bin format) that can be read into Matlab using the MAGAT Analyzer environment, which is available with the publication Gershow, et al., Nat. Methods 9, 290-296 (2012). DOI: https://doi.org/10.1038/nmeth.1853

ADDITIONAL SCRIPTS:
(1) JustLoadAndSegment.m
Run in Matlab, will load the movie data (.bin files) into the MAGAT Analyzer environment. Run this first.
(2) Misc2B.m
Running this after JustLoadAndSegment will save a text file with information about each run segment (crawling portion of trajectories) for all loaded experiments. 
(3) Just_ReverseCrawl_Matlab.m
Only run after JustLoadAndSegment. Looks at reverse crawl behavior
(4) Behavior_analysis_ReverseCrawl_Stop_Continue_Turn_Matlab.m
Similar to (3) but labels all parts of tracks with the four main behaviors described in the paper
(5) DESandRES_fits.ipf
Scripts for Igor Pro that perform fits to resensitization and desensitization data, similar to those found in Fig. 4, 5, 6 in the paper. 

MOVIE DATA:
Movies are all in the .bin format, readable into Matlab with the JustLoadAndSegment script (assuming the user has the MAGAT Analyzer software). Folders are labeled by which figure the data corresponds to, and the file names describe the experimental conditions. 